NAME			=		libUnisound-shared.a

SOURCE			=		decoder.cpp			\
					encoder.cpp			\
					SoundPacket.cpp			\

OBJS			=		$(SOURCE:.cpp=.o)

CPPFLAGS		+=		-std=c++0x
CPPFLAGS		+=		-I Interface
CPPFLAGS		+=		-I Network
CPPFLAGS		+=		-I Type

all			:		$(NAME)

$(NAME)			:		$(OBJS)
					ar rc $(NAME) $(OBJS)
					ranlib $(NAME)

clean			:
					rm -rf $(OBJS)

fclean			:		clean
					rm -rf $(NAME)

re			:		fclean all

.PHONY			:		all clean fclean re
